package com.tjbank.cssys.dto;

import com.tjbank.cssys.framework.base.dto.CommonDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class DemoDTO extends CommonDTO {

    /** ❤❤❤❤ */
    private static final long serialVersionUID = 1L;
    
    @NotBlank(message = "code:编码不能为空")
    private String code;
    
    @NotBlank(message = "name:名称不能为空")
    private String name;
    
}
